package graphics;

import game.Obolo;
import game.Player;
import android.graphics.Point;

public class PanelCard {

	private int oboloWidth = 40;
	private int oboloHeight = 60;

	private Obolo obolo;
	private Point positionOnPanel;
	private Point positionOnBoard;
	private Player player;
	
	private int place;
	private boolean enable;
	
	public static final int DECK_PLACE = 0;
	public static final int BOARD_PLACE = 1;
	

	public PanelCard(Obolo obolo, Player player) {
		this.obolo = obolo;
		this.player = player;
	}

	public int getPlace() {
		return place;
	}

	public Player getPlayer() {
		return player;
	}
	
	public Point getPosition() {
		return positionOnPanel;
	}

	public Obolo getObolo() {
		return obolo;
	}

	public int getOboloWidth() {
		return oboloWidth;
	}

	public int getOboloHeight() {
		return oboloHeight;
	}
	
	public Point getPositionOnBoard(){
		return positionOnBoard;
	}
	
	public boolean getEnable(){
		return enable;
	}
	
	public void setPlace(int place) {
		this.place = place;
	}
	
	public void setPosition(Point position) {
		//this.positionOnPanel = new Point();
		this.positionOnPanel = position;
	}

	public void setObolo(Obolo obolo) {
		this.obolo = obolo;
	}

	public void setOboloWidth(int oboloWidth) {
		this.oboloWidth = oboloWidth;
	}

	public void setOboloHeight(int oboloHeight) {
		this.oboloHeight = oboloHeight;
	}
	
	public void setPositionOnBoard(Point positionOnBoard){
		this.positionOnBoard = positionOnBoard;
	}
	
	public void setEnabled(boolean enable){
		this.enable = enable;
	}
}
